﻿//-----------------------------------------------------------------------------
//<filedescription file="CreateTaskSequenceDialog_Extension.cs" company="Microsoft">
//  <copyright>
//     Copyright © Microsoft Corporation.  All rights reserved.
//     ***  DESIGNATED SAMPLE CODE (per the included software license terms) ***
//      THIS CODE SAMPLE IS MADE AVAILABLE TO YOU WITHOUT WARRANTY OF ANY KIND
//      AND CONFERS NO RIGHTS ON YOU WHATSOEVER EXCEPT THE RIGHT TO REVIEW IT
//      SOLELY AS A REFERENCE.  THE ENTIRE RISK OF USE OR RESULTS FROM USE OF
//      THIS CODE SAMPLE REMAINS WITH YOU.
//  </copyright>
//  <purpose>
//     A method that extends the custom task sequence wizard form to provide
//     OEM-specific functionality (branding and potentially additional features).
//  </purpose>
//  <notes>
//  </notes>
//</filedescription>
//-----------------------------------------------------------------------------

#region Using directives

using Microsoft.ConfigurationManagement.IntegrationDevelopmentKit.CustomReboot;
using Microsoft.ConfigurationManagement.ManagementProvider;
#endregion

namespace Microsoft.ConfigurationManagement.OemDeployment.Example
{
    /// <summary>
    /// 
    /// </summary>
    public partial class GenericCreateTaskSequenceDialog_Extension : CreateTaskSequenceDialog
    {
        /// <summary>
        /// 
        /// </summary>
        public GenericCreateTaskSequenceDialog_Extension()
        {
        }
        
        /// <summary>
        /// 
        /// </summary>
        /// <param name="connectionManager"></param>
        public GenericCreateTaskSequenceDialog_Extension(ConnectionManagerBase connectionManager)
        {
            //this is the ctor run when called from SCCM
        }

        /// <summary>
        /// 
        /// </summary>
        protected override void SetupCustomProperties()
        {
            BaseRegistryKey = Properties.Resources.Registry_BaseVendorRegKey;
            BaseRegistryKey64 = Properties.Resources.Registry_BaseVendorRegKey64bit;
            OemName = Properties.Resources.OEMName;
            OemShortName = Properties.Resources.OEMShortName;
            DeploymentWmiClassName = Properties.Resources.DeploymentWmiClassName;
            RebootWmiClassName = Properties.Resources.RebootWmiClassName;
        }
    }
}
